package com.naiterui.ehp.bs.doctor.vo.patient;

import com.naiterui.ehp.bp.utils.date.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@ApiModel(value = "consultCommentVO", description = "评价对象")
public class ConsultCommentVO implements Serializable {

    private static final long serialVersionUID = -3201491460679486937L;
    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */

    @ApiModelProperty("评价id")
    private Long commentId;

    @ApiModelProperty(value = "患者呢称")
    private String patientNickName;

    @ApiModelProperty(value = "患者头像(有可能为空串)")
    private String patientHeadUrl;

    @ApiModelProperty(value = "评价内容")
    private String commentContent;

    @ApiModelProperty(value = "评价星级")
    private Integer starLevel;

    @ApiModelProperty(value = "疾病")
    private String diagnosis;

    @ApiModelProperty(value = "评价时间(yyyy-MM-dd hh:mm:ss)")
    @DateTimeFormat(pattern = DateUtil.DATE_TIME_FORMAT)
    private Date createdAt;

    @ApiModelProperty(value = "回复")
    private String reply;

    @ApiModelProperty(value = "是否匿名评论：1：否，2：是")
    private Integer wac;



}
